package com.springboot.feign;

import org.springframework.http.HttpStatus;
import org.springframework.http.ResponseEntity;
import org.springframework.stereotype.Component;

import com.springboot.model.vo.VirtualWalletVO;

@Component
public class VirtualWalletFeignFallBack implements VirtualWalletFeign{

	@Override
	public ResponseEntity<VirtualWalletVO> getVirtualWalletByUserId(String userId, String token) {
		// 返回降级响应（钱包返回）
		return ResponseEntity.status(HttpStatus.FORBIDDEN).body(null);
	}

}
